package com.itheima.health.service;

import com.itheima.health.pojo.Member;

import java.util.List;
import java.util.Map;


/**
 * 会员Service
 */
public interface MemberService {

    /**
     * 通过手机号，查询会员信息
     * @param telephone 手机号
     * @return
     */
    Member getOneMember(String telephone);

    /**
     * 用户注册
     * @param member 会员信息
     */
    void saveMember(Member member);

    /**
     * 获取用户饼状图数据
     */
    Map<String, Object> getMemberReport();
}
